package com.ideafactory.client.utils;


import com.ideafactory.client.ybselfservice.R;
import com.ideafactory.client.ybservice.APP;

public class VersionUpdateConstants {

    public static final int MESSAGE_DISTRIBUTE = 1; //信息发布
    public static final int QUEUE_BUSINESS = 2; //商家板排队叫号
    public static final int QUEUE = 3;//排队叫号
    public static final int WEI_PRINT = 4;//微信打印
    public static final int WEI_METTING = 5;//微信会议
    public static final int YUNBIAO_PAD = 6;//云标画板
    public static final int YUNBIAO_SELF_SERVER = 8;//云标自助服务

    public static int CURRENT_VERSION = YUNBIAO_SELF_SERVER;

    //得到具体的服务类型
    public static String getServerType() {
        String serverType = "";
        switch (CURRENT_VERSION) {
            case MESSAGE_DISTRIBUTE:
                serverType = "信息发布";
                break;
            case QUEUE_BUSINESS:
                serverType = "商家板排队叫号";
                break;
            case QUEUE:
                serverType = "排队叫号";
                break;
            case WEI_PRINT:
                serverType = "微信打印";
                break;
            case WEI_METTING:
                serverType = "微信会议";
                break;
            case YUNBIAO_PAD:
                serverType = "云标画板";
                break;
            case YUNBIAO_SELF_SERVER:
                serverType = APP.getAPP().getResources().getString(R.string.app_name);
                break;
        }
        return serverType;
    }

}
